package com.cola.entity.order;

import java.math.BigDecimal;

/**
 * 订单详情
 * @author Max
 * @since 2017/9/16
 */
public class OrderDetail {
    private Long detail_id;//详细信息id
    private String type;//订单类型
    private Integer customer_id;//店铺编号
    private String mep_no;//经销商编号
    private String order_no;//订单编号
    private String goods_no;//商品编号
    private String goods_name;//商品名称
    private String goods_img;//商品图片
    private Integer goods_num;//商品数量
    private Integer goods_num_final;//确认收货商品数量
    private BigDecimal goods_unit_price;//商品单价
    private String goods_specifications;
    private BigDecimal goods_price;//商品总价
    private BigDecimal goods_price_final;//商品最终总价
    private Integer status;//状态
    private String create_time;
    private String update_time;

    @Override
    public String toString() {
        return "OrderDetail{" +
                "detail_id=" + detail_id +
                ", type='" + type + '\'' +
                ", customer_id=" + customer_id +
                ", mep_no='" + mep_no + '\'' +
                ", order_no='" + order_no + '\'' +
                ", goods_no='" + goods_no + '\'' +
                ", goods_name='" + goods_name + '\'' +
                ", goods_img='" + goods_img + '\'' +
                ", goods_num=" + goods_num +
                ", goods_num_final=" + goods_num_final +
                ", goods_unit_price=" + goods_unit_price +
                ", goods_specifications='" + goods_specifications + '\'' +
                ", goods_price=" + goods_price +
                ", goods_price_final=" + goods_price_final +
                ", status=" + status +
                ", create_time='" + create_time + '\'' +
                ", update_time='" + update_time + '\'' +
                '}';
    }

    public String getMep_no() {
        return mep_no;
    }

    public void setMep_no(String mep_no) {
        this.mep_no = mep_no;
    }

    public String getGoods_specifications() {
        return goods_specifications;
    }

    public void setGoods_specifications(String goods_specifications) {
        this.goods_specifications = goods_specifications;
    }

    public Integer getCustomer_id() {
        return customer_id;
    }

    public void setCustomer_id(Integer customer_id) {
        this.customer_id = customer_id;
    }

    public Long getDetail_id() {
        return detail_id;
    }

    public void setDetail_id(Long detail_id) {
        this.detail_id = detail_id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOrder_no() {
        return order_no;
    }

    public void setOrder_no(String order_no) {
        this.order_no = order_no;
    }

    public String getGoods_no() {
        return goods_no;
    }

    public void setGoods_no(String goods_no) {
        this.goods_no = goods_no;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getGoods_img() {
        return goods_img;
    }

    public void setGoods_img(String goods_img) {
        this.goods_img = goods_img;
    }

    public Integer getGoods_num() {
        return goods_num;
    }

    public void setGoods_num(Integer goods_num) {
        this.goods_num = goods_num;
    }

    public Integer getGoods_num_final() {
        return goods_num_final;
    }

    public void setGoods_num_final(Integer goods_num_final) {
        this.goods_num_final = goods_num_final;
    }

    public BigDecimal getGoods_unit_price() {
        return goods_unit_price;
    }

    public void setGoods_unit_price(BigDecimal goods_unit_price) {
        this.goods_unit_price = goods_unit_price;
    }

    public BigDecimal getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(BigDecimal goods_price) {
        this.goods_price = goods_price;
    }

    public BigDecimal getGoods_price_final() {
        return goods_price_final;
    }

    public void setGoods_price_final(BigDecimal goods_price_final) {
        this.goods_price_final = goods_price_final;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }
}
